package com.haohan.stock.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.haohan.stock.dao.StockDAO;
import com.haohan.stock.domain.StockData;

/**
 * 奖项数据操作类
 * 
 * @author Administrator
 *
 */
@Service
public class StockService {

	@Autowired
	private StockDAO stockDAO;

	public List<StockData> selectAll(String code, int scale) {
		return stockDAO.selectAll(code, scale);
	}

	public List<StockData> selectResult(String day, int scale) {
		return stockDAO.selectResult(day, scale);
	}

}
